<div class="kt-modal-content">
    <div class="modal-header">
        <button type="button" class="close" ng-click="$dismiss()" aria-label="Close">
            <em class="ion-ios-close-empty sn-link-close"></em>
        </button>
        <h4 class="modal-title">{{kt.title}}</h4>
    </div>
    <div class="modal-body">
        <div ba-panel ba-panel-class="with-scroll light-text">
            <form name="Form" id="firmware-form" ng-submit="kt.save()">
                <div class="form-group col-md-6 col-sm-6 col-xs-6">
                    <label>固件名称</label>
                    <input ng-disabled="kt.isView" type="text" class="form-control" placeholder="名称"
                           ng-model="kt.firmware.name" required>
                </div>
                <div class="form-group col-md-6 col-sm-6 col-xs-6">
                    <label>BootLoader版本</label>
                    <input ng-disabled="kt.isView" type="text" class="form-control" placeholder="bootloader版本"
                           ng-model="kt.firmware.bootVer">
                </div>
                <div class="form-group col-md-6 col-sm-6 col-xs-6">
                    <label>固件版本</label>
                    <input ng-disabled="kt.isView" type="text" class="form-control" placeholder="固件版本"
                           ng-model="kt.firmware.firmwareVer">
                </div>

                <div class="form-group col-md-6 col-sm-6 col-xs-6">
                    <label>更新模式</label>
                    <input ng-disabled="kt.isView" type="text" class="form-control" placeholder="更新模式"
                           ng-model="kt.firmware.updMode">
                </div>
                <!--<div class="form-group col-md-6 col-sm-6 col-xs-6">-->
                    <!--<label>固件</label>-->
                    <!--<input ng-disabled="kt.isView" type="file" class="form-control" placeholder="固件"-->
                           <!--file-model="kt.firmware.file">-->
                <!--</div>-->
                <div class="form-group col-md-12 col-sm-12 col-xs-12">
                    <label>固件描述</label>
                    <input ng-disabled="kt.isView" type="text" class="form-control"  placeholder="固件描述"
                           ng-model="kt.firmware.description">
                </div>
                <div class="form-group col-md-12 col-sm-12 col-xs-12">
                    <button type="submit" class="btn btn-danger btn-with-icon" ng-if="!kt.isView">
                        <i class="ion-heart"></i>保存
                    </button>
                </div>
            </form>
        </div>
    </div>
</div>